{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "9462eb6c",
   "metadata": {},
   "source": [
    "# OnekeyNet完全体\n",
    "\n",
    "支持任意的特征输入以及多任务输出"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "bc81283b",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<iframe src=\"//player.bilibili.com/player.html?isOutside=true&aid=114897857876666&bvid=BV1gegpzREbu&cid=31215388965&p=1\" scrolling=\"no\" border=\"0\" frameborder=\"no\" framespacing=\"0\" allowfullscreen=\"true\" width=\"980\" height=\"551\"></iframe>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "## 获得视频教程\n",
    "from onekey_algo.custom.Manager import onekey_show\n",
    "onekey_show('OnekeyNet-v1', force_show=True)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "a84cf052",
   "metadata": {},
   "source": [
    "# OnekeyNet Ultra\n",
    "\n",
    "支持预定义ResNet系列作为2D图像数据的特征编码。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "37c04895",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<iframe src=\"//player.bilibili.com/player.html?isOutside=true&aid=115025431762454&bvid=BV1MRbqzGE66&cid=31683841646&p=1\" scrolling=\"no\" border=\"0\" frameborder=\"no\" framespacing=\"0\" allowfullscreen=\"true\" width=\"980\" height=\"551\"></iframe>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from onekey_algo.custom.Manager import onekey_show\n",
    "onekey_show('OnekeyNet-Ultra', force_show=True)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "6b72bdf8",
   "metadata": {},
   "source": [
    "# OnekeyNet Ultra++\n",
    "\n",
    "支持用户自定义的任何模型作为2D图像数据的特征编码。\n",
    "\n",
    "## 注意此模式下，出现了代码的问题，请自行debug！！！\n",
    "\n",
    "Onekey提供2个Deepseek生成的代码可供参考：\n",
    "1. from OKNB import CNNWithResAttention\n",
    "2. from OKNB import CBAMResNet5"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "adeb3de9",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<iframe src=\"//player.bilibili.com/player.html?isOutside=true&aid=115065948806581&bvid=BV1xqYQzREtP&cid=31846697403&p=1\" scrolling=\"no\" border=\"0\" frameborder=\"no\" framespacing=\"0\" allowfullscreen=\"true\" width=\"980\" height=\"551\"></iframe>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from onekey_algo.custom.Manager import onekey_show\n",
    "onekey_show('OnekeyNet-Ultra++', force_show=True)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "74a59a70",
   "metadata": {},
   "source": [
    "# 多通道融合-Sol8 or Sol25"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "f28e9dfb",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<iframe src=\"//player.bilibili.com/player.html?isOutside=true&aid=115503347667035&bvid=BV1zN2wBDEDp&cid=33764409931&p=1\" scrolling=\"no\" border=\"0\" frameborder=\"no\" framespacing=\"0\" allowfullscreen=\"true\" width=\"980\" height=\"551\"></iframe>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from onekey_algo.custom.Manager import onekey_show\n",
    "onekey_show('一个通道融合引发的脑洞', force_show=True)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
